:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(0, 0, 0, 0.87);
  background-color: #fcfcfc;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
}

body {
  margin: 0;
  /* display: flex; */
  /* place-items: center; */
  min-width: 320px;
  min-height: 100vh;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}
button:hover {
  border-color: #646cff;
}
button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

.card {
  padding: 2em;
}
* {
  box-sizing: border-box;
}

body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}
.main_c {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 2fr));
  /* grid-template-rows: max-content;  */
  /* grid-template-rows: repeat(auto-fit, minmax(200px, 2fr)); */
  grid-auto-rows: auto;
  gap: 10px;
  padding: 10px;
  background-color: #f5f5f5;
  width: 100%;
  /* height: calc(100vh - 55px); */
  height: max-content;
  overflow: hidden;

  /* height: 100%; */
}
.card_c {
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 320px;
  min-height: 90px;
}
.super_box {
  height: 530px;
}
.big_box {
  grid-column: span 2;
}

@media (max-width: 800px) {
  .big_box {
    grid-column: span 1;
    grid-row: span 1;
  }
}

.group_two {
  grid-column: span 2;
  grid-row: span 1;
  display: flex;
  flex-direction: column;
}

@media (max-width: 800px) {
  .group_two {
    grid-column: span 1;
    grid-row: span 1;
  }
}
.group_two .middle_box {
  height: max-content;
}
.group {
  grid-column: span 1; /* 默认占据两列 */
  grid-row: span 1; /* 默认占据一行 */
  height: 300px; /* 占用一行时的高度 */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.group .littel_box {
  height: 140px;
}

.content {
  height: 100%; /* 确保内容适应卡片高度 */
  width: 100%; /* 确保内容适应卡片宽度 */
}

#app {
  height: 100%;
  width: 100%;
  text-align: center;
  overflow-x: hidden;
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }
  a:hover {
    color: #747bff;
  }
  button {
    background-color: #f9f9f9;
  }
}

/*  当视口变得小到一定范围将不再缩小 */
/* @media (min-width: 1500px) {
  #app {
    width: 1500px;
  }
} */

/* 控制滚动条样式 */

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background-color: transparent;
  -webkit-border-radius: 2em;
  -moz-border-radius: 2em;
  border-radius: 2em;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(139, 137, 138, 0.2);
  -webkit-border-radius: 2em;
  -moz-border-radius: 2em;
  border-radius: 2em;
}

.footer {
  width: 100%;
  height: 40px;
  font-size: 14px;
  color: #555;
  background-color: #f9f9f9;
  padding: 15px;
  border-top: 1px solid #ddd;
  text-align: center;
}
.footer a {
  color: #000000;
  text-decoration: none;
}
.footer a:hover {
  color: #535bf2;
}
.hide_footer {
  visibility: visible;
}

.footer span {
  display: block;
  margin-bottom: 5px;
}

.footer.copyright {
  font-style: italic;
}

.footer.icp {
  font-weight: bold;
}
